package com.huibo.aigou.base.bo;

public class AjaxResult {
	
	private String msg;
	
	private Integer code = 200;
	
	private Object data;
	
	public static AjaxResult createInstance() {
		return new AjaxResult();
	}

	public Integer getCode() {
		return code;
	}

	public AjaxResult setCode(Integer code) {
		this.code = code;
		return this;
	}

	public String getMsg() {
		return msg;
	}

	public AjaxResult setMsg(String msg) {
		this.msg = msg;
		return this;
	}

	public Object getData() {
		return data;
	}

	public AjaxResult setData(Object data) {
		this.data = data;
		return this;
	}

}
